#define _CRT_SECURE_NO_WARNINGS 1
#include "ListNode.h"

int main()
{
	
	LS* ls = LSInit();
	LSPushBack(&ls,1);
	LSPushBack(&ls,123);
	LSPushBack(&ls,3);
	LSPushBack(&ls,4);
	LSPushBack(&ls,5);
	LSPushBack(&ls,6);
	LSPrint(&ls);
	LSPushFront(&ls, 1);
	LSPushFront(&ls, 2);
	LSPushFront(&ls, 3);
	LSPushFront(&ls, 4);
	LSPrint(&ls);
	LSPopBack(&ls);
	LSPrint(&ls);
	LS* find = LSFind(&ls, 2);
	LSErase(find);
	LSPrint(&ls);
	LTDesTroy(&ls);
	return 0;
}